//Ext.application({
//    launch: function() {
//        viewport = Ext.create('Ext.container.Viewport', {
//            layout: {type: 'fit'}
//        });
//        homeShell = Ext.create('JwawaErp.home.HomeShell');
//        viewport.add(homeShell);
//    }
//});


Ext.onReady(function () {
    try {
        viewport = Ext.create('Ext.container.Viewport', {
            layout:{type:'fit'}
        });
        homeShell = Ext.create('jwawa.erp.home.HomeShell');
        viewport.add(homeShell);
    } catch (e) {
        alertError(e.message);
        throw e;
    }
});

